package com.kylinhunter.hibernate.dao;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * AbstractChcode entity provides the base persistence definition of the Chcode
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractChcode implements java.io.Serializable {

	// Fields

	private String id;
	private String code;
	private String codefather;
	private String codelevel;
	private String codename;
	private String flag;
	private String remark;
	private String reserve;
	private String valid;
	private Timestamp updatetime;
	private Set chkbfiles = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractChcode() {
	}

	/** minimal constructor */
	public AbstractChcode(String codefather, String codelevel, String codename,
			String valid) {
		this.codefather = codefather;
		this.codelevel = codelevel;
		this.codename = codename;
		this.valid = valid;
	}

	/** full constructor */
	public AbstractChcode(String code, String codefather, String codelevel,
			String codename, String flag, String remark, String reserve,
			String valid, Timestamp updatetime, Set chkbfiles) {
		this.code = code;
		this.codefather = codefather;
		this.codelevel = codelevel;
		this.codename = codename;
		this.flag = flag;
		this.remark = remark;
		this.reserve = reserve;
		this.valid = valid;
		this.updatetime = updatetime;
		this.chkbfiles = chkbfiles;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCodefather() {
		return this.codefather;
	}

	public void setCodefather(String codefather) {
		this.codefather = codefather;
	}

	public String getCodelevel() {
		return this.codelevel;
	}

	public void setCodelevel(String codelevel) {
		this.codelevel = codelevel;
	}

	public String getCodename() {
		return this.codename;
	}

	public void setCodename(String codename) {
		this.codename = codename;
	}

	public String getFlag() {
		return this.flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getReserve() {
		return this.reserve;
	}

	public void setReserve(String reserve) {
		this.reserve = reserve;
	}

	public String getValid() {
		return this.valid;
	}

	public void setValid(String valid) {
		this.valid = valid;
	}

	public Timestamp getUpdatetime() {
		return this.updatetime;
	}

	public void setUpdatetime(Timestamp updatetime) {
		this.updatetime = updatetime;
	}

	public Set getChkbfiles() {
		return this.chkbfiles;
	}

	public void setChkbfiles(Set chkbfiles) {
		this.chkbfiles = chkbfiles;
	}

}